<div class="row animate fadeIn">
    <form class="form-horizontal" id="view-uom-form">
    <div class="ibox-title" style="border:none;"><h5 style="color: #00afef"><i>View</i></h5>
     </div>
     <div class="ibox-content">
        <?php foreach ($result as $uom ) { ?>
        <input type="hidden" name="e_company_id" value="<?php echo $uom->company_id; ?>">
             <div class="form-group">
                <label class="col-lg-2 control-label">UOM Code</label>
                <div class="col-lg-2">
                    <input type="text" class="form-control" name="e_uom_code" value="<?php echo $uom->uom_code; ?>" readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">Name</label>
                <div class="col-lg-3">
                    <input type="text" class="form-control" name="e_uom_name" value="<?php echo $uom->uom_name; ?>" readonly>
                </div>
            </div>
            <div class="form-group"><label class="col-lg-2 control-label">Enable</label>
                <div class="col-lg-1">
                    <input type="checkbox" class="i-checks" name="e_uom_enabler" value="ok" <?php echo($uom->enable_flag == 'Y' ? 'checked' : ''); ?> disabled>
                </div>
            </div>
           <?php } ?> 
        </form>
    </div>
 </div> 
 <script>
    $(document).ready(function(){
        $('.i-checks').iCheck({
                    checkboxClass: 'icheckbox_square-green',
                    radioClass: 'iradio_square-green',
        });
        $('#viewX').click(function(){
            close_view();
       });
    });
 </script>